package com.guodi.model.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.InputStream;
import java.io.Serializable;

/**
 * @描述: 成果上报- 第三方上传请求vo
 * @作者: 余家鑫
 * @日期: 2021/11/8 下午4:49
 */
@Data
public class AvtReviewTaskThirdPartyUploadReqDTO implements Serializable {
    private static final long serialVersionUID = 2181242380668465024L;

    @NotBlank(message = "区划编码为空")
    @ApiModelProperty(value = "区划编码", required = true)
    private String divisionCode;

    @NotBlank(message = "任务id为空")
    @ApiModelProperty(value = "任务id", required = true)
    private String id;

    @NotNull(message = "zip压缩文件为空")
    @ApiModelProperty(value = "zip压缩文件", required = true)
    private InputStream zipFileInputStream;

}
